#!/usr/bin/env python
# -*- coding:utf-8 -*-

from flask_restful import Api

from . import ssouser_blueprint
from ..orderResource.orderResource import SsoUserResource
from ..orderResource.orderOtherResource import SsoUserOtherResource

api = Api(ssouser_blueprint)

api.add_resource(SsoUserResource, '/order/<orderID>', '/order', endpoint='order')


# 学生登录
@ssouser_blueprint.route('/user/login', methods=['POST'], endpoint='user_login')
def student_login():return SsoUserOtherResource.student_login()

